package metamodel;

public enum PrimitiveTypeEnum  {
	BOOLEAN , STRING , REAL , INTEGER, VOID, UNDEFINED;

	public static boolean isValid(String currentType) {
		for (PrimitiveTypeEnum type : values()) {
			if (type.name().equalsIgnoreCase(currentType)) {
				return true;
			}
		}
		return false;
		
	}
}
